package com.yoyosys.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yoyosys.dao.SysMenuMapper;
import com.yoyosys.entity.SysMenu;
import com.yoyosys.service.MenuService;

/** 
 * @Description: MenuService实现
 * @ClassName: MenuServiceImpl 
 * @author: knight
 * @date: 2018年3月8日 下午6:00:11  
 */
@Service
public class MenuServiceImpl implements MenuService{
	@Autowired
	private SysMenuMapper sysMenuMapper;

	/* (non Javadoc) 
	 * @param id
	 * @return
	 * @Title: selectByPrimaryKey 
	 * @see com.yoyosys.service.MenuService#selectByPrimaryKey(java.lang.String) 
	 */
	@Override
	public SysMenu selectByPrimaryKey(String id) {
		return sysMenuMapper.selectByPrimaryKey(id);
	}
}
